package com.estate.business;

import java.util.HashMap;
import java.util.List;

import com.estate.vo.Vo;
import com.estate.vo.impl.DocumentVo;

public interface DocumentService {
	
public List<DocumentVo> findAllDocument();
	
	public void addDocument(DocumentVo vo);
	
	public void deleteByPK(int id);
	
	public Vo findByPK(int id);
	
	public void update(Vo vo);
	
	public HashMap<Integer,String> findAllIdAndName();
	
	public List<DocumentVo> findByLendState(int lendState);
	
	public void deleteByLibraryId(int id);

}
